Replace deprecated chrome.socket API

...with chrome.sockets.tcpServer and chrome.sockets.tcp.