DERBY-5317: Detect attempts to reuse a connection that in the middle of sending a request to the server. Use this to provide a better error message and avoid the NPE.
DERBY-6386 - Errors in jdbc4.LobStreamTest if derbyclient.jar is first in the classpath

backing out change #1573334 which caused problems in nightly 10.10 test runs.



git-svn-id: https://svn.apache.org/repos/asf/db/derby/code/branches/10.10@1573624 13f79535-47bb-0310-9956-ffa450edef68