b2b_logic: set proper Contact header for external scripts
 - closes sf 3612046: opensips crashing when excuting b2b_logic extern script
 - backport from trunk rev #9988