added a reentrantlock to synchronize access
the streamingclient consumer may implement a time based flushing through
a scheduled executor service
or a timer thread(like in YASP) this helps achieveing a lock step access
Rebased changes  -- the test case now also has the method to verify if
the keys are actually in the server
some cleanup# On branch streaming-fixes
changing looging leve from info to debug for commit messages
making streamingput() synchronized
removed the reentrant lock
Check if logger.isDebugEnaled() to optimize loggin