Merge pull request #2 from unix1/master

Update deps to cowboy 0.6.1, fix compile errors