Updated Networking

Added a socket accept and handshake packet. Also updated packet handler
to be used as either a server or client.