Migrate inspector connection to the new API.
Merge pull request #670 from dgozman/devtoolshost

Migrate inspector connection to the new API.