update spec to reflect node impl
Merge pull request #18 from poptip/spec2

Update spec to reflect node impl.