Add chrome.sockets.*
Fix bug
Add tests
Merge pull request #2570 from pine613/feature/chrome/sockets

Add chrome.sockets.*