Simplified ssl handler creation logic and make sure SSLv3 is disabled in all situations