socket_io_clients.js: extracted from http.js. This is to prepare for SocksJS implementation.