fix for seaport issue #26 for > node v0.10.0

I didn't have time to write additional tests for this, but made sure existing tests passed and did ad-hoc testing w/ approach in issue #26, and this fixed my own problems. Note this fix only fixes the issue for > node v0.10.0, behaves the same as today for previous node versions.