JBTM-1595 update to wait for http server startup
Merge pull request #37 from zhfeng/JBTM-1595

JBTM-1595 HttpServer has not start when TM send commit the message