Fix deprecation warning when starting with SSL enabled