fixed an edge case of the asynchronous reader

was failing if there was not enough input after the first chunked-signature