mod_s2s: narrow code to prevent future misbehaviours.