POSIX-style getopt() for Node.js