Ensure non-raw protocol is lowercase