Proper networking

Made networking totally proper. There is a single TransportSocket that can be used to send or receive data without explicit specification of used interface.