Changed main() to accept socket connections

main() is updated with server code from
http://beej.us/guide/bgnet/output/html/multipage/index.html to handle a
queue of incoming socket connections