fixed netty4 deprecation warning