Currently this commit breaks websocket events and needs to be updated.
SelfhostedModule
SelfHostedModule