Fix broken message handling

It broke when separating ServerConnection from Connection,
because I don't really understand embedding.
Correctly log error messages
Export ParseURL so that it can be used by other packages
Add shortcuts for requests to Client
Add first, minimal version of a CLI