DERBY-6455: Infinite loop in NetworkServerControlImpl.ensureDataInBuffer

Merged revision 1559946 from trunk.


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