Allow protocol to be specified explicitly.