TCP man-in-the-middle proxy