Utility to partition/shard HTTP requests