Trying to implement keep alive messages on the sockets that make a connection to the server....still WIP.