Update the netstring code with newfound knowledge.
Fix pyflakes errors in parsley.py.