Parsing peer_id before whitelist check