TLS server added.  revorked how logic is arranged to accomodate HTTP/HTTPS handlers co-existing and sharing code