Prevent closing a null curl connection
Merge pull request #14 from mrardon/master

Prevent closing a null curl connection