renamed getResponse() to getFailureResponse()

bail out of equals() if byte arrays differ in length (performance)