Implement duplex in a shorter way, get rid of isStream due to Node 0.8 incompatibilities, more tests