export socks.js for require