Fixed network functions to use string instead of char all over the place, and
built a basic server/client as an example.