Revert changes to cowboy_protocol