Added dynamic generation of self-signed certificates for SSL
connections.