Polishing: use passed-in ssl instance rather than calling getSsl()