add API to get remote address from a communication peer

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