Updated API protocol.
Merge pull request #4 from burstly/jrichards

Updated API protocol.