- migrated api to return deferred instead of promise
- various minor code cleanups
- added but not implemented "rawBuffers" parsing option