* Initial commit. * Force update remote agent right before disconnect. * Add handling errors from unknown remote agents. * Address review comments.