Hacked version of fedKit for socket tests.