Connects to a locally hosted websocket to view a page.