added framework for ssl