'Creates a new urllib request.'

def _CreateRequest(self, url, data=None):

    req = super(HttpRpcServer, self)._CreateRequest(url, data)
    if (self.cert_file_available and fancy_urllib.can_validate_certs()):
        req.set_ssl_info(ca_certs=self.certpath)
    return req
