sendHubCommand to send HTTP GET or TCP

See this