Added documentation and additional events to the SimpleClientSocket.