Move RPC websocket init code to rpcwebsocket.go.