Fix how wire_wait section name looks in doxygen
Fix wire_fd_wait_msec when msecs is <= 0

It simply blocked forever...
Add wire_lock to implement a simple lock of a shared resource