add pakcet, packetCreate document to README
refuctoring test which fales depends on timing
this test dosen't pass in some timing in my machine. so make it not to depends on timeout.
…lure server: send validation failure reason to clients
#99 `packet` event
invoking as a function causes attach, refs #104
Socket.flush: reset writeBuffer before send
This prevents legacy node versions from calling Socket.flush before it could reset writeBuffer, leading to double-flush.