use netty code for web socket protocol handling
restructure netty web socket transmitter