WIP - CS-5033: Removes protocol from urls

First step
I could use true/false instead of 1/0, but i prefer the ternaries this way. Do we have a specific guideline for this?