finished adding shared_ptr to HTTP parser and management functions