Expose socketHost on the window.