Added shutdownHook for server and serverconfig.xml configured for https keystore