Upgrade to cowboy 1.0.0
Update API for adding routes