Send the string to the http response stream watching out for special html characters and encoding them appropriately.