Added the class NameValue, so HashMaps are no longer used to pass form headers and parameters