add pub/sub support to netty-client. the tests currently test only a small subset of the functionality.