Implement protocol() for cowboy