Refactor the force.ssl filter