Switch to Cowboy 1.0.0.

Requires the cowlib app to be started.