Added support for local SSL