Fix proxy for multiple hosts