[FOLD] fix asio socket handling