test python socket package