for for String.prototype.startsWith missing
use new chrome.sockets api, still a bit buggy...