add typedefs to socket.h to improve POSIX compliance
define RIOT for #ifdef