Partialy revert 0ae4f3f:

It broke xmlrpc_client since https is not a valid php transport.