add patch support to cowboy_rest
Merge branch 'rest_patch' of https://github.com/treetopllc/cowboy