squashed warn in mg_terminate_ssl()