The computeLength() was not handling a case where the response was not empty while the responseName was empty, generatoing some BufferOutOfBound exception. Fixed
Changed paths: