Fix upgrade of HTTP handler in Netty