Started on error handling in client.
Started writing rack tests for server.