Added HTTP POST /session
Added HTTP PUT /session/{session} as well as utility methods for future optimizations.