Improve exceptions in vpp_transport_socket.py