Created as a follow up to a review comment.
new_session->outbound_ip4 = options.outbound_ip4;
new_session->outbound_ip6 = options.outbound_ip6;
new_session->outbound_port = options.outbound_port;
This could be logically grouped in an options member, such that the following would result:
new_session->options = options;