Add useragent info to issue reporting
* fix #827