Merge pull request #88 from grissiom/fix-sim-serial

simulator: fix serial_write
make Host can halt endpoints
Merge pull request #93 from heyuanjie87/ForPullRequest

For pull request