Fixed sending and receiving messages
Ping .. pong
Can optionally read from stdin
Added client documentation
Updated readme with more information
Added more API documentation