Functional Chat on server and client side :)

Also resolved an involuntary bug in the last commit... sorry -_-'