fixed socket.h and socket.c
updated EBUtest to have socket functions