Implemented message type for DiscoveryRequest and added SessionManager class.