change cloudfe, statebe binding to tcp endpoint; add some other featrue

simple sleep function; simple node endpoint config file