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

thanks @promag — utACK 18c49eb