Update cowboy 0.8.0 new api
Merge pull request #6 from masahitojp/feature/cowboy

Update cowboy 0.8.0 new api