set up sockets need to do testing, currently core dump on socket(...)