CS311: Add make targets for posix code.

Switch socket code to getaddrinfo examples.