Add gateway manager.
Update HTTP client to initialize base URL on its own. Update clients that manually initialized the base URL.