Receiving and sending with client now

Does not seem to want to shut down when client sends a disconnect/close
to the socket.