Embarcadero announced some time ago FMXLinux support, basically allows to use graphical components in Linux64 apps. sgcWebSockets supports FMXLinux so you can use these components to create a graphical interface and sgcWebSockets to connect to any server supported.
You can view the following screenshot which shows how a MQTT client is working in Ubuntu desktop and interface is created with FMXLinux Trial version.