Get rid of TODO, use github for that
Append ssl mode to url if ssl flag is set and not defined in the url