Wrapped version of http://www.strictly-software.com/htmlencode