Added [optional] HTTPS endpoint support.

This is primarily for browsers which don't like connecting to HTTP
endpoints when on a HTTP client, i.e. MSIE.
Fixed typo in https_port
Added configuration options for http(s) max connections