Resolves #27. Use SSL only when ssl is defined (also vhost ports)
Merge pull request #28 from Freeaqingme/master

Resolves #27. Use SSL only when ssl is defined (also vhost ports)