add the makefile for the socket api

add a simple makefile for the socket api and remove Xcode files.