def METHOD_NAME(self, host, handler, request_body, verbose=0):
    #retry request once if cached connection has gone cold
    for i in (0, 1):
        try:
            return self.single_request(host, handler, request_body, verbose)
        except socket.error as e:
            if i or e.errno not in (errno.ECONNRESET, errno.ECONNABORTED, errno.EPIPE):
                raise
        except httplib.BadStatusLine: #close after we sent request
            if i:
                raise