Adding client-netty and minor fixes required.

This is a first draft and more work is needed.