If it's a static response, you could just HTML encode the content and then use HTTP::respond to send it.
Regardless, I think it would be a good feature request. If you're interested, could you open a case with F5 Support on this? Requests for enhancement from customers carry more weight than from me :). If you do, can you reply back with the BZ ID you get?