Add user_agent to client constructor