Refactored CallbackHelper.java to parse the callback's address and port in a more straightforward way.

Change-Id: I4b614867b42a9474ce48b0026a7115b9f4a7266b