Python doesn't have argc
Add some margin to messages
Add more detailed socket error logging