Added session#getCurrentSocketForSession, which fetches the socket from the pool