declare getPeerName as const

Change-Id: If245af467fe5fb14f5df5d0b333dbfd6e4e18ada
Signed-off-by: Alessandro Salvatori <sandr8@gmail.com>