automatic http/https prefix