Fix fsockopen over ssl

Only worked via port 80 without ssl:// prefixed to the hostname