req.protocol does not contain ':'

Relying on req.protocol currently gives 404 errors on the middleware calls. This commit fixes that.