ensure only isHeroku servers do ssl rewriting

This was changed with the standalone changeover, but it seems to have been done in error. Heroku requires the ssl redirection logic, but it is useless outside of their ecosystem. Its therefore not applicable to isStandalone