PHP and curl HEAD HTTP method support origin