Fixed a bug in IP address extensions.
Global packet capture for Internet operations

Created a global class for packet capture.

Signed-off-by: Alex Bikfalvi <alex.bikfalvi@midokura.com>