added SSL support

changed host/port to full URL to support SSL connexions.

Keep host/port support for backward compatibility
Using 'url' will supercede the host/port definition and allow using SSL.

verify variable (default to false) allows to validate server certificate.