add utils/common/socket.py