[#1596] Allow override of advanced proxy IP checking

[#1596] Advanced proxy does not work for proxies whose IP is not defined  - added TEST and Documentation