add handshake to http upgrade
add final check for refs if time is the same and both are tail
updated to 2.4.0.Final version
fix on scheduling