Updated messageHandler to be a single instance per web server

Updated messageHandler to be a single instance per web server,
Added session manager mock class
All these three fields can be made ```private readonly```, as suggested by ReSharper.