fixing connect errors
Merge pull request #65 from crate/m/ssl_error

fixing connect errors