Started implementing Socket and tests