implemented own follow redirect because curl has problems with php "security" features