initial version of trex restful endpoint simulator