fixed a type-o
Adding a shutdown routine before tomcat does its thing
Added ssl to the things