Fix check for max_fd == -1 should actually be max_fd != -1
Fixed minetest reliable udp implementation (compatible to old clients)
TCP client/server implementation
Fix crash on tcp socket not yet available for rebind
Fix missing tcp connect retry if server didn't answer