PHP - cUrl with GET call helper class