Added cowboy 0.8.x support