Need to test if the http protocol is allowed in `$protocols`

PS: why not to add a default protocol configuration?