Pretty weird, but I narrowed down the problem.
$curl = curl_init();
curl_setopt( $curl, CURLOPT_FAILONERROR, true );
#curl_setopt( $curl, CURLOPT_POST, true );
curl_setopt( $curl, CURL_TIMEOUT, 120 );
curl_setopt( $curl, CURLOPT_FOLLOWLOCATION, 1 );
curl_setopt( $curl, CURLOPT_HEADER, true );
curl_setopt( $curl, CURLOPT_HTTPHEADER, Array("Connection: Keep-Alive") );
curl_setopt( $curl, CURLOPT_RETURNTRANSFER, true );
If I remove that line it works fine, any reason why it would do that? I also recompiled my build on my server so im thinking something effected that.