Return a different code when the client cannot connect to the server.
Clean up server return codes.
Document return codes in the man page.