added resolution of tcp options