 
      - throws: The error occured when connecting to host.
      */
-    func connectToHost(_ host: String, withPort port: Int) throws {
+    func connectTo(host: String, withPort port: Int) throws {
         try socket.connect(toHost: host, onPort: UInt16(port))
     }
 


     - throws: The error occured when connecting to host.
     */
    open func connectTo(_ host: String, port: Int, enableTLS: Bool = false, tlsSettings: [AnyHashable: Any]? = nil) throws {
        try connectToHost(host, withPort: port)
        self.enableTLS = enableTLS
        if enableTLS {
            startTLS(tlsSettings)
        }
    }



     - parameter length: The length of the data to read.
     - parameter timeout: Operation timeout.
     - warning: This should only be called after the last read is finished, i.e., `delegate?.didReadData()` is called.
     */
    func readDataTo(length: Int, withTimeout timeout: Double) {
        socket.readData(toLength: UInt(length), withTimeout: timeout, tag: 0)
    }

    /**
