update to cohttp 0.12.0 API (untested)