Exclude old versions of Netty from Maven-based build

Ports over the Netty exclusion changes in 1b169f190c5c5210d088faced86dee1007295ac8 to Maven