[fix] use simple regex instead of indexOf to check the protocol to support without the colon fixes #711
[test] show that we support protocol without the colon