Revert "User-Agent header is not required when SETTINGS command is used."

This reverts commit 8f52b6b106875d63235f6d06147e897a2a6c57f2.
Another attempt at working around broken HTC clients.

Bug: 12154