Format
Initial implementation of server message handling

Decodes and dispatches messages in the API server, but actual
operations are only stubs. Does not yet catch and pass errors back to
the client.
Catch errors in the API server and pass to client

Catch errors thrown while processing API requests and pass them back
to the originating client.
handle decode errors
Merge pull request #90 from anchor/wip-server-protocol

Implement protocol in API server