Fixed a couple of potential infinite loops by making AutoDeref and
AutoWeakDeref set their internal ptr to NULL before doing the deref.
That way if the Deref causes them to get changed again, we will not
get an infinite loop.

Made close manditory for all processors in server templates.  Added a
close routine to ProtoBufReader and LineReader.

Modified socket helpers to work properly on secure sockets and
hardcoded localhost as 127.0.0.1 into the NetworkAddress code.  This
will likely require some work to go to ipv6.

Fixed a lock order issue in event/Timer.cc.

Cleaned up some error handling when socks fails to connect.
Checked in the files that should have been in my last commit.

Removed .last_target from the repository, it doesn't belong there.

Added emacs backup files and files left by patch to .gitignore