added ssl support & enabled ssl