ybot.php: prevent friend list failed.
ybot: reduce cpu usage by sleep 500ms while no message recieved.
ybot: fix response check issue and use correct friend list.
ybot: 0.3.1: version update