Fix an error when using 'adhoc' as ssl_context
Merge pull request #229 from atomd/master

Bug fix when using 'adhoc' as ssl_context