Improved error text. added default user-agent