Making AbstractTimerSessionState package protected and converting nano
to millis.
Fixing SockJSSessionTest plus minor refactoring.