Create socketlib.py

Creating the files.