Update to keep in sync with changes in Cowboy