Get final redirect manually using get_headers()