FIX: httpSetPlatform for unit tests