Move cipher suite selection into common helper functions