Switched from using HttpUtility to WebUtility as the former is only available by loading System.Web which is drastic.