from manual [man]fsockopen[/man]:
As of PHP 4.3.0, if you have compiled in OpenSSL support, you may prefix the hostname with either 'ssl://' or 'tls://' to use an SSL or TLS client connection over TCP/IP to connect to the remote host
So using 4.3.0 or later PHP?
Compiled OpenSSL support?