[69core] Fixed the null pointer error in DefaultIoClient when the error caught at connection.
[69core] new a read method for SocketSession move from the onSocketData event handler.