Actually add timeout awareness to readline and wait_for_event fcns
Add POSIX Makefile, fix timer so bot actually logs onto server.