Made two requests: one for a general query about a name, and another for specific domain names.
Made sure that goroutines are cleaned up when the websocket connection is lost.