use forwarded for ip
fix pep8
ensure client_ip is never None
Merge pull request #5 from praekelt/feature/issue-5-ensure-correct-ip-used

ensure correct ip address is used