Make protocol_version static to access it from within the message handler
Refactor instruments message handler logic and API changes
Remove duplicated call to start ScriptAgent on device
Implement handling of screenshot messages and write them to working directory
Free instruments service handles on clean up