Add a way to close the socket connection
Add a way to close the socket connection
Add ability to disconnect
Updates to better handle malformed data, removed isConnected and added socket data buffering
original fork