Added peer id for self and sync for proxy