fixed encodings (now using UTF-8), changed message format to byte array
basic network connection staff