removed socket.py, also added test code to canvas.ls