sendHttpCode: avoid a hard-coded protocol version as well as reliance on fixed status codes
Merge remote-tracking branch 'upstream/master'
Coded XmlResponseHandler::toXml() from scratch