Implementation of Man in the Middle Attach