http: style fixes
http: fix missing strip of header value
http: properly respond with just a code