use compare on netty version check, avoiding cases like https://bugzilla.redhat.com/show_bug.cgi?id=923646

Cherry-pick from 2.3 / git:9c1c26b9680f7990838fe4755197c1a533340df8