nitdbg_websocket_server: fix write

Signed-off-by: Jean Privat <jean@pryen.org>
tests: add sav/nitdbg_websocket_server.res

Signed-off-by: Jean Privat <jean@pryen.org>