Encapsulation.

Allow host, port, path and protocol driver to be specified.