adding user agent to requests
setting user agent
Handle older versions of hub
handle empty content