client has been refactored to support promises. listen method is now firing events throgu 'progress'. Extracted parsePacket method from onData
since now client support promises, there is no need to create a new promise every time a new call to the server is made. The code for the API calls has been refactored as a consequence.
refactored apis with new client implementation
defaults settings are now extended.
updated documentation with all the apis now available. slight tweaks on few api endpoints (mainly naming)