Add missing Accept header. Improve UserAgent.

Fix issue when using Apache mod-security.