         // pad to 32 bytes!
         let paddedStrData: NSMutableData = ("                                ".data(using: String.Encoding.utf8) as NSData?)?.mutableCopy() as! NSMutableData // that's 32 spaces :)
         paddedStrData.replaceBytes(in: NSMakeRange(0, strData!.length), withBytes: (strData?.bytes)!)
+        self.logDelegate?.didReadWrite("writeName")
         sock.write(paddedStrData as Data, withTimeout: Timeouts.header.rawValue, tag: DataTag.tag_WRITING.rawValue)
         
         // now await auth
+        self.logDelegate?.didReadWrite("readAuth")
         sock.readData(toLength: 1, withTimeout: Timeouts.header.rawValue, tag: DataTag.tag_AUTH.rawValue)
     }
     


@objc public protocol BluepeerDataDelegate {
    func didReceiveData(_ data: Data, fromPeer peerID: BPPeer)
}

@objc open class BluepeerObject: NSObject {

            self.dispatch_on_delegate_queue({
                self.sessionDelegate?.peerDidConnect?(peer.role, peer: peer)
            })
            self.logDelegate?.didReadWrite("readHeaderTerminator1")
            sock.readData(to: self.headerTerminator, withTimeout: Timeouts.header.rawValue, tag: DataTag.tag_HEADER.rawValue)
            
        } else if tag == DataTag.tag_HEADER.rawValue {
