     precondition(status == .Connecting)
     precondition(self.peerVersion != nil)
     precondition(receivedVersionAck)
-    Logger.info("Connected to peer \(peerHostname!): \(peerPort)")
+    Logger.info("Connected to peer \(peerHostname!):\(peerPort)")
     connectionTimeoutTimer?.invalidate()
     connectionTimeoutTimer = nil
     setStatus(.Connected)

                                               repeats: false)
    networkThread.startWithCompletion {
      self.networkThread.addOperationWithBlock {
        // TODO: Support peerIP here instead of just peerHostname.
        if let (inputStream, outputStream) =
            self.streamsToPeerWithHostname(self.peerHostname!, port: self.peerPort) {
          self.inputStream = inputStream

  // parsing was successful. For some message types (e.g. VersionAck), payloadData is expected to
  // have a length of 0.
  public func didParseMessage(message: Message) {
    Logger.debug("Received \(message.header.command.rawValue) message")
    let payloadStream = NSInputStream(data: message.payload)
    payloadStream.open()
