Session IDs on the server are now incremental, and mapped to the appropriate real session_id. The code is somewhat ugly, so refactoring will happen
Cleaned up the new session-numbering code, pretty happy with the inteface now