add redirect and uri parsing to http