define generic NettyServer component