#3, handle read/write callback
Merge pull request #4 from creativelive/issue3

#3, handle read/write callback