Simple connections using python socket programming