Create newsocket.py