code: function onConnectionError(err) {
          var codeName = errors.classify(err);
  
          var loggerInfo = conn.extendLogInfo({
              error: err
          });
  
          if (codeName === 'Timeout' ||
              codeName === 'NetworkError') {
              self.logger.warn('Got a connection error', loggerInfo);
          } else {
              self.logger.error('Got an unexpected connection error', loggerInfo);
          }
          delete self.serverConnections[socketRemoteAddr];
      }
docs: TODO: move method