Add SSL/TLS support

Will auto-detect SSL if URI has 'wss://' scheme (the port will then
default to 443). SSL can be forced for any host/port/scheme.
Merge pull request #6 from drbig/master

Add SSL/TLS support