#58 Fix for making flash client work with latest nadron. Also modified
code in PolicyHandler to do writeAndFlush