handle redirects in http fpc indy code