Seting up a basic tcp server