code: function mergeOptions(base, custom) {
    return Object.assign({}, defaultOptions, base, custom, {
      udpServer: Object.assign({}, defaultOptions.udpServer, base.udpServer, custom.udpServer),
      udpClient: Object.assign({}, defaultOptions.udpClient, base.udpClient, custom.udpClient),
      wsServer: Object.assign({}, defaultOptions.wsServer, base.wsServer, custom.wsServer),
    })
  }
docs: Helper method to merge nested objects
  @private