netutils: use SO_PEERCRED from socket
netutils: use SO_PEERCRED from socket

Python 3 defines SO_PEERCRED in socket instead of IN. Additionally,
strip the old compat code that tries to define SO_PEERCRED if it doesn't
exist; it should always be defined these days.

Signed-off-by: Apollon Oikonomopoulos <ed81ed0a45ccd5c8869bda52e38353a6299ee39e@dmesg.gr>

mbakke/ganeti,mbakke/ganeti,ganeti/ganeti,ganeti/ganeti,ganeti/ganeti,mbakke/ganeti