[bitcoin/bitcoin] Add const modifier to HTTPRequest methods (#14006)

utACK 18c49eb8877d8b11f763083a79a7b8250e060106