#fixes MLHR-1008
added the log
closed existig stream and added the sleep of 1000 ms
added support for auth in pubsubwebsocketclient
Merge branch 'master' into dt-0.9.5
changed the FSDataOutput and InputStream creation
merged dt-0.9.5