Add various socket-related declarations.
Implement DrawInfoMessage.
boost::shared_ptr -> std::shared_ptr.