if (HttpPacket.isHttp(message)) {
// Otherwise cast message to a HttpContent
final HttpContent httpContent = (HttpContent) message;
final HttpContext context = HttpContext.get(ctx);
Request handlerRequest = httpRequestInProgress.get(context);
if (handlerRequest == null) {
// It's a new HTTP request
final HttpRequestPacket request = (HttpRequestPacket) httpContent.getHttpHeader();