Fix SSL connection errors
Check for null too because why not
Bump to 0.2.2