Fixing client ip address on heroku?
Moving it all to lib