Added clientMode to netty consumer code