refactor and add more logging to instruments_client.js
refactor and add more logging to instruments_client.js

appium/appium,appium/appium,appium/appium,appium/appium,appium/appium,Sw0rdstream/appium,appium/appium