Added peercred = sk->xid, which got lost in the various merges that happened.