Changed TCP listener to always take sockets