adding missing API: addFailure
make sure the websocket passes a loads_status. However I have no idea why we have this here :/
style
turns out this is mandatory