Accept user_agent in ocs_sdk.apis.API constructor