Updated Pac script to use direct connection for plain hostnames.