add remote_port and local_port attributes to transaction class