Added ability to intercept raw request.