modified socket code to use select.
Merge branch 'master' of github.com:bonnie-e/bib-web-2