comments and IO refac
comments
user agent
package handler default value
user agent comma

(cherry picked from commit 6be7ecc7db0377c14d89103cace91b5342f50382)