'PHPProxyHandler setup, init domain/iplist map'

def first_run(self):

    if (not common.PROXY_ENABLE):
        hostname = urlparse.urlsplit(common.PHP_FETCHSERVER).hostname
        net2 = AdvancedNet2(window=4, ssl_version='TLSv1', dns_servers=common.DNS_SERVERS, dns_blacklist=common.DNS_BLACKLIST)
        if (not common.PHP_HOSTS):
            common.PHP_HOSTS = net2.gethostsbyname(hostname)
        net2.add_iplist_alias('php_fetchserver', common.PHP_HOSTS)
        net2.add_fixed_iplist(common.PHP_HOSTS)
        net2.add_rule(hostname, 'php_fetchserver')
        net2.enable_connection_cache()
        if common.PHP_KEEPALIVE:
            net2.enable_connection_keepalive()
        net2.enable_openssl_session_cache()
        self.__class__.net2 = net2
