Update client error properties name to match server

The server expects the error properties to be named "type", "message"
and "stack" (server.js:129). However, the client serialize the error
back as "name", "message" and "traceback". This causes the properties
to be lost when an error is passed through multiple servers before
being returned to a client.