improve handling logic for reading packet error
improve handling logic for reading packet error

When the body fails to parse, if it is a pull packet, the connection is not disconnected and only the error is returned.

henrylee2cn/teleport