making socket.h MSP430 ready