Uploading the patch here per elexis' request (https://trac.wildfiregames.com/ticket/2305#comment:40), but still proceeding to work on it.
Current state: the patch works with some network configurations, see details here: https://trac.wildfiregames.com/ticket/2305#comment:39
TODO:
- cleanup and adaptation to 0ad coding standards (in particular the issues pointed out by elexis here: https://trac.wildfiregames.com/ticket/2305#comment:25)
- stk code license question: https://trac.wildfiregames.com/ticket/2305#comment:20
- re-merge with SVN (currently the patch is a21-based)