Add https cert and key options to docker

This adds two new options to the docker daemon which pass in a ssl certificate and private key. When both of these are passed in, it uses https rather than http.

Partially fixes issue #1745