Use built-in base64 url encoding
Basic replies

The messages we compose will not, in general be RFC 822 compliant.  See
the many TODOs in client.cpp.

Refs #6.
Remove id attributes from application and service files

This fixes click review warnings.
Define version centrally, and include in user agent string