Implemented SSL support by copying directly from dotjs.

Just a straight copy of the SSL support from dotjs, including using the same cert (which is already trusted for dotjs users).