more proxy detection

please refer to
http://en.wikipedia.org/wiki/Talk%3AX-Forwarded-For

其實，我們是不是不需要在PHP層做這些，這些應該是APACHE 的.htaccess 做.