constructor ({
    basePath,
    mimeTypes,
    defaultMimeType,
    indexFile
  } = {}) {
    this._basePath = basePath
    this._mimeTypes = mimeTypes || DEFAULT_MIME_TYPES
    this._indexFile = indexFile || DEFAULT_INDEX_FILE
    this._defaultMimeType = defaultMimeType || DEFAULT_MIME_TYPE
  }
This a very minimal implementation of a static files http server.

This is intend to be used only in the ${@link RemoteController} scenario and
this is not feature complete.

Some security measures to avoid external elements to sniff to files out of the base
path are in place. Like Directory Transversal.