Make it work with later netty releases.

* Make sure HttpResponseEncoder is put in the ChannelPipeline before HttpObjectAggregator
* Correctly handle the write of static files (HttpResponse, FileRegion|ChunkedFile, LastHttpContent)