Add minor changes to avoid SSL hanging some time
Merge pull request #7 from wagnert/0.5.8-beta

Add minor changes to avoid SSL hanging some time