Default to https: when non-http protocols are detected

/cc @jfirebaugh want to review?