websocket: don't stream as array (handle like single requests)
small fixes
sample reader for input ports, no need to construct type in js from typeinfo