Chat application. Learning to use sockets using python.