[Fixed] net message library not loading

So apparently I forgot one "end". I could swear it worked fine when I tested it...
I probably added bytesWritten without testing it, because it doesn't even work for me...
Merge pull request #51 from Xandaros/patch-1

[Fixed] net message library not loading