Added lthread_poll() and test for it
Added posix versions of connect(), read(), recvmsg(), recvfrom()
Added forgotten prototype for lthread_exit()
Some minor fixes
fix another uninitialised value in struct epoll_event found by valgrind