Python chat client. First time working with socket module