Use socket options to select security mechanism