Javascript port of https://github.com/jameydeorio/Netpack