SocketService.py - cleaned up and removed unnecessary code

Removed unnecessary code not needed