Made interrupt socket nonblocking and added a way for rtorrent to figure out if it needs to handle SIGUSR1.