Use chrome.sockets.tcp API instead of chrome.socket.