add \r to header like specified in http://tools.ietf.org/html/rfc7231#appendix-D