Updated make, created base server code

Have  server code for creating socket finished with a gethostbyname to
get the IP address of the network interface

currently doesn't work due to socket bind not working.