Fix fsockopen over SSL

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