parse rest_port from host arg

for supporting test running against production port 8091