Fix issue with gathering user agent in some cases
Release 1.1.2