'* msgpack is MUCH faster than cPickle,
* msgpack can\'t serialize python objects,
* I have to create a dict representation of HTTPResponse to serialize it
* and a from_dict to have the object back
:param unserialized_dict: A dict just as returned by to_dict()'

@classmethod
def from_dict(cls, unserialized_dict):

    udict = unserialized_dict
    (code, msg, hdrs) = (udict['code'], udict['msg'], udict['headers'])
    (body, _time, _id) = (udict['body'], udict['time'], udict['id'])
    headers_inst = Headers(hdrs.items())
    url = URL(udict['uri'])
    return cls(code, body, headers_inst, url, url, msg=msg, _id=_id, time=_time)
