Added client class.

The client simply establishes a connection and then gives you a session via which you can send messages to the server.