Add RPC class, that handles the HTTPS.

For now, we are using snakeoil certificates. Those will be changed as soon as
we decide which certificates will be best or should be used. The connection
does not yet handle custom ports.