get_remote_addr() to replace $_SERVER['REMOTE_ADDR']
We provide a standard global function as a drop-in replacement for
$_SERVER['REMOTE_ADDR']. This takes in consideration de facto
standard header HTTP_X_FORWARDED_FOR, and other legacy proxies ones.