client: send_message to connection instead of inst

Signed-off-by: Casey Bodley <casey@linuxbox.com>