Add docstrings to client and server

Whew!