Clean up creation of NetError message.

No need for ostringstream when everything is a string already.