pub async fn listen_socket( socket_path: &str, gateway_origin: String ) -> Result<(), Box<dyn Error + Send + Sync>>