Do remote ip check before reading the request
Merge pull request #2 from bwestlin/master

Do remote ip check before reading the request