Use object encapsulation to allow more than one to be used at once.
Allow host, port, path and protocol driver to be specified.
Merge pull request #2 from postwait/master

Encapsulation