adjust client-->agent to line up with docs