Added support to enable SSL