Fix off-by-one error in add_socketread() and set_socketwrite() [Coverity].
Cleanup save_formats() function, removing unused function argument.
Expand the size of paused_topic to equal help_topic_list.

paused_topic is filled by a copy from help_topic_list, so they should be
the same size.
Ensure fd is closed if connect() fails when trying a SOCKS4 connection.
Remove extra file that never should have been added.
Remove bogus file misc.c.orig.
Merge pull request #7 from keaston/master

Coverity fixes for add_socketread(), save_formats(), paused_topic and handle_socks().