add connect failure response for sockv4/sockv5 protocol