Google URL shortener API in PHP