Fix isResponseFromReadBuffer