Added Encapsulated Packets Handler

Added encapsulated packets handler.