change grunt connect hostname to localhost

add check for config.oktellServerHost