Updated to match Cohttp API version 0.10.0