Enable handling of ssl connections for libdir server.
Modify some resources for ssl-compat.
SSL-changes for js-components.