RFC 2616 -> RFC 7231

Reference and quote the up to date RFC (7231) and not the deprecated (2616) one,
rename some codes according to the current accepted naming.
These doc comments need updating too.