updated csharp and java client demos
bug fix for SIGPIPE errors
client examples