update to cowboy 1.0.0