Migrated HTTP and JSON utils.