Made the global sockaddr variables local and cleared them with a memset.
Backporting fix that adds pthread specific swap buffer for both tc_read and tc_write. refs #187
Changed all header file once include variables to follow the same naming convention and not start with any underscores. Also deleted old incorrect copyright notices. Also removed $Id: tags from all files. Fixes #14. Fixes #22.