Start SSL in main thread
Merge pull request #3 from gunyoki/start_ssl_in_thread

Start SSL in main thread