KNOX-279 - optimized the matching of wildcard addresses
KNOX-303 - invalid configuration should result in 500 and appropriate error message.