Add socket handling code

- python code to connect / send data
- dummy vim function to call connect & send