udp: Restore UDP sockets
udp: Restore UDP sockets

Reuse the TCP socket restore, just add connect() and sanity checks
for protocol.

This is OK, since UDP connect doesn't go to network for connection
and (unlike unix sockets) doesn't require peer to be "online". It
just puts the peer's creds on socket and returns.

Signed-off-by: Pavel Emelyanov <c9a32589e048e044184536f7ac71ef92fe82df3e@parallels.com>
Signed-off-by: Cyrill Gorcunov <7a1ea01eee6961eb1e372e3508c2670446d086f4@openvz.org>

gonkulator/criu,wtf42/criu,biddyweb/criu,rentzsch/criu,wtf42/criu,gonkulator/criu,tych0/criu,marcosnils/criu,ldu4/criu,fbocharov/criu,marcosnils/criu,KKoukiou/criu-remote,eabatalov/criu,wtf42/criu,rentzsch/criu,LK4D4/criu,LK4D4/criu,marcosnils/criu,eabatalov/criu,biddyweb/criu,ldu4/criu,kawamuray/criu,efiop/criu,efiop/criu,tych0/criu,efiop/criu,biddyweb/criu,eabatalov/criu,tych0/criu,gonkulator/criu,biddyweb/criu,sdgdsffdsfff/criu,efiop/criu,tych0/criu,efiop/criu,ldu4/criu,biddyweb/criu,gablg1/criu,marcosnils/criu,AuthenticEshkinKot/criu,sdgdsffdsfff/criu,svloyso/criu,gablg1/criu,kawamuray/criu,gonkulator/criu,marcosnils/criu,KKoukiou/criu-remote,LK4D4/criu,marcosnils/criu,svloyso/criu,eabatalov/criu,LK4D4/criu,AuthenticEshkinKot/criu,biddyweb/criu,kawamuray/criu,kawamuray/criu,sdgdsffdsfff/criu,fbocharov/criu,KKoukiou/criu-remote,efiop/criu,gonkulator/criu,gablg1/criu,eabatalov/criu,sdgdsffdsfff/criu,kawamuray/criu,AuthenticEshkinKot/criu,gablg1/criu,AuthenticEshkinKot/criu,sdgdsffdsfff/criu,svloyso/criu,wtf42/criu,KKoukiou/criu-remote,tych0/criu,eabatalov/criu,ldu4/criu,svloyso/criu,kawamuray/criu,KKoukiou/criu-remote,fbocharov/criu,ldu4/criu,wtf42/criu,gablg1/criu,rentzsch/criu,tych0/criu,AuthenticEshkinKot/criu,wtf42/criu,fbocharov/criu,svloyso/criu,sdgdsffdsfff/criu,KKoukiou/criu-remote,ldu4/criu,svloyso/criu,rentzsch/criu,AuthenticEshkinKot/criu,fbocharov/criu,gonkulator/criu,rentzsch/criu,rentzsch/criu,fbocharov/criu,gablg1/criu,LK4D4/criu,LK4D4/criu