Merge pull request #61 from LunarchildEU/ssl-aware

SSL aware