learning sockets and TCP w/ Python