Much better way to check for cipher and protocol availability