Include operating system and actual version number in User Agent string

Follow up to #628