*   receive is previously present or over the old receive.
*    or it was not performed, the port is set to the default sip port (5060).
*    the default sip port (5060) if neither rport or via port are present.
*    the dns lookup will be a "normal" one (A or AAAA).
*    in host) the destination port will be set to the default sip port (5060).
/** per process fixup function for global_req_flags.
* It should be called from the configuration framework.
/* checks if ip is in host(name) and ?host(ip)=name?
* ip must be in network byte order!
LOG(L_ERR, "ERROR: clen_builder: no message body found"
LOG(L_CRIT, "BUG: lumps_len: invalid op "
LOG(L_CRIT, "BUG: process_lumps: unhandled data lump "
DBG("Warning: (%d) overlapped lumps offsets,"
LOG(L_ERR, "adjust_clen: no message body found"
LOG(L_ERR, "adjust_clen: Can't remove original"
DBG("adjust_clen: UDP packet with no clen => "
/** builds a request in memory from another sip request.
* Side-effects: - it adds lumps to the msg which are _not_ cleaned.
*                 if proto fallback is enabled (see below).
*                       message > mtu and send_info->proto==PROTO_UDP.
*                       It will also update send_info->proto.
*   done) and sets returned_len or 0 on error.
LOG(L_ERR, "ERROR: build_req_buf_from_sip_req: Error while adjusting"
LOG(L_ERR, "build_res_buf_from_sip_res: error trying to remove first"
DBG("build_res_from_sip_res: copied size: orig:%d, new: %d, rest: %d"
LOG(L_ERR, "ERROR: build_res_buf_from_sip_req: out of memory "
* to body lumps in case of touch_clen=1.
LOG(L_ERR, "ERROR: build_all: Error while adjusting"