Fix proxy validation