Add tcp-passive and tcp-active socket layers with unit test