Support custom server URL and API version