Fix FastAGI working with non default ports (bug 2539)