add netty demo code