mod_tls: Refactor to allow separate SSL configuration for c2s and s2s connections