Added useragent decoding to the browser and better handling of internal ips / x-forwarded-for