lighttpd code modified to include handling of proxy2