Better exception capture
Support of SSL self signed cert