@veebs maybe you are not on latest 4.0 branch ?

https://github.com/netty/netty/blob/4.0/codec-http/src/main/java/io/netty/handler/codec/spdy/SpdyOrHttpChooser.java#L66