Fixed issue with server

Clientserver was sending with the wrong socket, causing the server to reply incorrectly.

Also improved the datapacket class to work with bytes like it's supposed to. More to do still on this front.