rewrite of instruments to use sockets rather than HTTP
modify appium so it uses the new, cleaner exit interface with socket-based instruments server