add ip to $_SERVER
Merge pull request #12 from terry2010/master

add ip to $_SERVER