updated simplesocket