Filling out basic TCP server architecture