[cooja/serialsocket] Write serial data only on simulation thread
 [cooja/serialsocket] SeriaSocketClient: Fixed position of pack() call