sendCommandReceiveSync
Send command to the hub and returns response (If no response needed, use sendCommand)
Return
Response object. Will return null if sending/receiving message failed. Error will print in console
Parameters
message
The command and params