Add Heroku support
Handle x-forwarded-for and x-forwarded-proto headers in Tomcat