add the skeleton of message and socketInfo