removed include and altered Makefile, also added some functions to server-tcp.c