Connecting to FRED using PHP