- Net::StreamSocket *sock;
- IO::EventDispatcher *event_disp;
- Net::Resolver *resolver;
- ResolveListener *resolve_listener;
- unsigned resolve_tag;
- std::string user_agent;
- Request *request;
- Response *response;
+ Net::StreamSocket *sock = nullptr;
+ IO::EventDispatcher *event_disp = nullptr;
+ Net::Resolver *resolver = nullptr;
+ ResolveListener *resolve_listener = nullptr;
+ unsigned resolve_tag = 0;
+ std::string user_agent = "libmspnet/1.0";
+ Request *request = nullptr;
+ Response *response = nullptr;