microflo: Fix two minor discrepancies

Was different from semantics of WebSocket runtime
Add test setup for browser

Also fix missing file in component.json
Make WebSocket runtime compatible with node.js