added commented out SSL code to try out on production