Fix Netty deprecation warnings

related to https://github.com/playframework/playframework/issues/2624

I fixed all deprecation warnings of Netty maybe.