Added support for different proxy types in the script_filename string
ie: proxy:balancer://host:port/file/name.php
also made the 4 comparison strings static