uses optimist for cli argv parsing. allows to pass socket.io options.
fixes test. in node.js v0.10.2 somehow child_process.exec passes output to stderr instead of stdout.