Revert "Create SocketManager"

This reverts commit e47d243cf7cab6189c9cce82a9778815e361aa18.