Update index.js

This changes for primus with other transports. Created one argument for transport type with the name of -p. Received the argument in program.transPort and added with options parameter.