Cohttp expects input_line to remove a trailing '\r' (as well as '\n')

Signed-off-by: David Scott <dave.scott@eu.citrix.com>