Hussain Ali

Results 2 issues of Hussain Ali

As clients may differ from user to user, I left the `client` to be configurable as it would help users to quickly switch `client` based on their requirements without running...

The `new Buffer` is now deprecated and gives an error. I've changed the calls to newer method that it `Buffer.alloc`