chat server finally working after a stupid mistake...