Class NameValueCollection is in the namespace System.Colletions.Specialized
Class HttpUtility is in the namespace System.Web, also we need to do following two things:
1, Changing .Net Framework 4 Client Profile to .Net Framework 4
2, Add a new reference by choosing the tab "Browse...". Dig into the C:/windows/microsoft .net/framework/v4.0.30319/ directory and choose System.Web.dll from there.