WFLY-3478 fixing mask verification
Merge pull request #6411 from istudens/WFLY-3478

WFLY-3478 subnet-match is completely broken