Added get_data resource,fixed http_message.h, added contructor