Update to new cohttp API in 0.9.7