Add util method to get port from address

HDP and Vanilla plugins have the same functionality to parse port number
from address so general util method has been impelemented covered with tests

Change-Id: I07e33acc206a247d397edd32b4487232da2e4b3c
Merge "Add util method to get port from address"