Fix cloudstack driver to handle self-signed certs, unsecure connection a...

...nd better handling of keypairs and network_id