Overhaul session creation, with cookie support.
Overhaul session creation, with cookie support.

shaunstanislaus/stronglink,rmoorman/stronglink,nkatsaros/stronglink,nkatsaros/stronglink,guiquanz/stronglink,Ryezhang/stronglink,btrask/stronglink,feld/stronglink,Ryezhang/stronglink,Lacra17/stronglink,iOSCowboy/stronglink,rmoorman/stronglink,yamingd/stronglink,btrask/stronglink,feld/stronglink,btrask/stronglink,Lacra17/stronglink,shaunstanislaus/stronglink,btrask/stronglink,yamingd/stronglink,shaunstanislaus/stronglink,iOSCowboy/stronglink,guiquanz/stronglink,guiquanz/stronglink,rmoorman/stronglink,nkatsaros/stronglink,Ryezhang/stronglink,Lacra17/stronglink,iOSCowboy/stronglink,feld/stronglink,yamingd/stronglink