Made the jira client switch ssl off if no https url is used

This one tries to fix #529