Removes port dependence from client layer;

Signed-off-by: ashwinh <ashwinh@cybage.com>