Update cowboy bridge for compatibility with newer versions of cowboy