Implement server handler with netty