use last IP address as per heroku's instructions
add logging because wtf
trim IP
strip, not trim