Fixes for proxy_validation
Merge pull request #3 from qnm/fix_proxy_validation

Fix proxy validation