Mac doesn't handle the SSLv3 handshake well.
Use the PHP_OS predefined constant
Merge pull request #3 from jpirkey/jpirkey-support-mac-ssl-handshake

Mac doesn't handle the SSLv3 handshake well.