added netstring utility