sock: add connect_addr that takes the destination address directly
sock: add xsockaddr_{get,set}_inet_port helpers
sock: return the correct errno on connection error