A Node JS library for designing network protocol