remove socket code (moved to own project)