make example working with cowboy 0.6