Enhancement: made background request/response classes fully configurable and thus more general-purpose.