Replaced html bindings with text bindings in sample application codes

... to make them more secure and resilient against future attacks.
This fixes issue #375.