split the ctlcli interface to use two threads instead of one: one for sending messages and one for writing.  in situations where there are tons of messages to send, we would try to send them all before reading them, which means our socket buffer would fill up at some point, locking up the daemon ctlthr
split the ctlcli interface to use two threads instead of one: one for sending messages and one for writing.  in situations where there are tons of messages to send, we would try to send them all before reading them, which means our socket buffer would fill up at some point, locking up the daemon ctlthr

git-svn-id: f2acecaac6fbd5a03f3d4799db58dda434111981@9864 3eda493b-6a19-0410-b2e0-ec8ea4dd8fda

pscedu/slash2-stable,pscedu/slash2-stable,pscedu/slash2-stable,pscedu/slash2-stable,pscedu/pfl,pscedu/slash2-stable,pscedu/pfl,pscedu/slash2-stable,pscedu/slash2-stable,pscedu/pfl,pscedu/pfl