Client sends ping object

Automatically serializes sent objects and unserializes received
messages using json module.