'Default request handler.
Default behaviour for OPTIONS and unknown methods for proxies
is to forward message on to the client.
Since at the moment we are stateless proxy, that\'s basically
everything.'

def handle_request_default(self, message, sourcePeer):

    (srcHost, srcPort) = sourcePeer
    def _mungContactHeader(uri, message):
        message.headers['contact'][0] = uri.toString()
        return self.sendMessage(uri, message)
    viaHeader = self.getVia()
    if (viaHeader.toString() in message.headers['via']):
        log.msg('Dropping    looped    message.')
        return
    message.headers['via'].insert(0, viaHeader.toString())
    (name, uri, tags) = parseAddress(message.headers['to'][0], clean=1)
    d = self.locator.getAddress(uri)
    d.addCallback(self.sendMessage, message)
    d.addErrback(self._cantForwardRequest, message)
