Self-assembling HTTP API libraries