Fix user-agent field when it should be only agent