Handling Incorrectly Formatted Responses

If the client receives a response that does not conform to the structures specified in 2, the client MUST discard the response and fail the corresponding application request with an error indicating that an invalid network response was received. The client MAY<152> also disconnect the connection.