{tcp,udp}_listen() currently return 0 on success, rather than the socket
fd they created. We had that historically because these functions could
sometimes create multiple sockets. We've now refactored things to avoid
that, so it makes more sense for them to return the socket on success.
Signed-off-by: David Gibson