Some fixes and example for fi_poll

Fixed a bug in simple/msg.c and added an example for fi_poll.