Use TLS because Apple deprecated SSLv3. Fixes #70.

You can try this fix. It has worked for me, but has not been thoroughly tested.