Added SharedUtil for helpers shared by client and server

Change-Id: Ie289e8eefd962631a43f35dbb47fa192fcf60abf