Update to support SSL