Update index.js

Added Support for Secret (--rpc-secret)