Fix admin server does not work while in FastCGI mode

solve this problem :
https://github.com/facebook/hhvm/issues/1825

If there is a problem to modify the code.