added support for user-agent belongs to #1