ivs: finish sending CLI output after half-close

The ivs-ctl command does a shutdown(SHUT_WR) to indicate it's finished sending
commands. Instead of disconnecting it immediately we should send the response
first.
ivs-ctl: add cli command

Sends its arguments over a unix domain socket to IVS, which runs the ucli
command and sends back the output.