Added optional params support.
The library will itself now track the optional parameters and if rpc-call doesn't supply a value for an optional value for the parameter, it'll be automatically setting a default value for it.