res_pjsip_transport_websocket: Fix crash when the Contact header is not a URI.