Ensure the selector implementation can be instrumented before attempting instrumentation

- Fixes #1908
[#1907] LengthFieldPrepender should better extend MessageToMessageEncoder for less memory copies
Merge remote-tracking branch: upstream/master