net: parser should handle EOF without newline properly.
net: parser should handle EOF without newline properly.

Fixes issue 686.

R=rsc
CC=adg, golang-dev
http://codereview.appspot.com/979044

Committer: Russ Cox <5ad239cb8a44f659eaaee0aa1ea5b94947abe557@golang.org>

tav/go,tav/go,tav/go,tav/go,tav/go,tav/go,tav/go