Replaced socket for reference_connection in offers.