!hco Implement connection-level client API, refactored and stripped down client and server infrastructure

Removed everything that is likely not going to be supported by M1.
Things like the host- and request-level client-side API will be added back later.