Move local-mode server connectivity code to Chef::LocalMode