facebook/hhvm — pull request #1559 by apuckey (2014-01-14 04:04:46+00:00)
Title: FastCGI: fix for REMOTE_HOST and REMOTE_ADDR to be like php

add getRemoteAddr to transport which defaults to empty string.
add getRemoteAddr to fastcgi transport to return the proper header.
fi no remoteAddr set it to the remoteHost ( libevent )
only set REMOTE_HOST if there is something in it as per php-src