Network fixes udp 1

Intention:
Fix the current udp implementation to workaround the most pressing errors with old clients.
It's not meant to replace a upcoming protocol shift but only to be a interim solution.

It's backported from enet_support branch therefore basic infrastructure is already prepared for new protocols.

This pull is based uppon following other pulls:
#1068
#1054