This is done by tests/test_connection.py::test_websocket:
```
{
"jsonrpc": "2.0",
"method": "connect",
"params": {
"connect": {
"id": "031b84c5567b126440995d3ed5aaba0565d71e1834604819ff9c17f5e9d5dd078f",
"direction": "in",
"address": {
"type": "websocket",
"subtype": "ipv4",
"address": "127.0.0.1",
"port": 59412
}
}
}
}
```
Signed-off-by: Rusty Russell <rusty@rustcorp.com.au>