Need to add a "trust self-signed certificates" flag on bootstrap/connect.
Description
The Rest server might be bootstrapped with a self-signed certificate. The client needs to explicitly state it trusts self-signed certs in order to communicate with the server. currently we trust them without asking.