More better session id generation(2bit).
suggested by @kazuho++
Cache file handle for /dev/urandom.

Suggested by @kazuho++